package com.neuedu.eldercarecenter.service.impl;

import com.neuedu.eldercarecenter.mapper.BedMapper;
import com.neuedu.eldercarecenter.pojo.Bed;
import com.neuedu.eldercarecenter.service.BedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BedServiceImpl implements BedService {
    @Autowired
    private BedMapper bedMapper;
    @Override
    public List<Bed> queryKxcwByRoomNo(String roomNo) {
        return bedMapper.queryKxcwByRoomNo(roomNo);
    }
}